[INFO] cloning repository https://github.com/JoseLuisGit/RickyChess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoseLuisGit/RickyChess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseLuisGit%2FRickyChess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseLuisGit%2FRickyChess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c24b5dcd2e7783973e5a3ee2dfa3abe8f8c90077
[INFO] fixing JoseLuisGit/RickyChess against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseLuisGit%2FRickyChess" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JoseLuisGit/RickyChess
[INFO] finished tweaking git repo https://github.com/JoseLuisGit/RickyChess
[INFO] tweaked toml for git repo https://github.com/JoseLuisGit/RickyChess written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JoseLuisGit/RickyChess on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JoseLuisGit/RickyChess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy v0.8.37
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4
[INFO] running `Command { std: "docker" "start" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ricky v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/board/fen.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState, defs::*};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::zobrist::ZOBRIST`
[INFO] [stdout]  --> src/board/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::board::zobrist::ZOBRIST;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/magic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/gen.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/movegen/make.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CAPTURE`, `PROM_B`, `PROM_N`, `PROM_Q`, `PROM_R`, and `QUIET`
[INFO] [stdout]  --> src/movegen/make.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::movegen::{Move, QUIET, CAPTURE, EP_CAPTURE, PROM_N, PROM_B, PROM_R, PROM_Q};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/search/tt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/uci/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/board/fen.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState, defs::*};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::zobrist::ZOBRIST`
[INFO] [stdout]  --> src/board/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::board::zobrist::ZOBRIST;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/magic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/gen.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/movegen/make.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CAPTURE`, `PROM_B`, `PROM_N`, `PROM_Q`, `PROM_R`, and `QUIET`
[INFO] [stdout]  --> src/movegen/make.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::movegen::{Move, QUIET, CAPTURE, EP_CAPTURE, PROM_N, PROM_B, PROM_R, PROM_Q};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/search/tt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/uci/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/uci/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_sq`
[INFO] [stdout]   --> src/movegen/tables.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let b_sq = 1u64 << sq;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_b_sq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/uci/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/movegen/gen.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut kings = self.bb_pieces[side][KING];
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_sq`
[INFO] [stdout]   --> src/movegen/tables.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let b_sq = 1u64 << sq;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_b_sq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/movegen/gen.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut kings = self.bb_pieces[side][KING];
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `board` is never read
[INFO] [stdout]   --> src/uci/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut board = Board::new(); // Empty? Or Default? Board::new is empty.
[INFO] [stdout]    |                     ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 46 |                      board = Board::from_fen(&fen);
[INFO] [stdout]    |                      ----- `board` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN_PHASE` is never used
[INFO] [stdout]  --> src/evaluation/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PAWN_PHASE: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &TT {
[INFO] [stdout]     |                                ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &TT {
[INFO] [stdout]     |                           ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Exact` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         TT_Exact => return entry.score,
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Alpha` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                         TT_Alpha => {
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Beta` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         TT_Beta => {
[INFO] [stdout]     |                         ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:259:35
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &mut TT {
[INFO] [stdout]     |                                   ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:279:27
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &mut TT {
[INFO] [stdout]     |                           ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Exact` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const TT_Exact: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Alpha` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const TT_Alpha: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Beta` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const TT_Beta: u8 = 2;
[INFO] [stdout]    |           ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `board` is never read
[INFO] [stdout]   --> src/uci/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut board = Board::new(); // Empty? Or Default? Board::new is empty.
[INFO] [stdout]    |                     ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 46 |                      board = Board::from_fen(&fen);
[INFO] [stdout]    |                      ----- `board` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN_PHASE` is never used
[INFO] [stdout]  --> src/evaluation/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PAWN_PHASE: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &TT {
[INFO] [stdout]     |                                ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &TT {
[INFO] [stdout]     |                           ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Exact` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         TT_Exact => return entry.score,
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Alpha` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                         TT_Alpha => {
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Beta` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         TT_Beta => {
[INFO] [stdout]     |                         ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:259:35
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &mut TT {
[INFO] [stdout]     |                                   ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:279:27
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &mut TT {
[INFO] [stdout]     |                           ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Exact` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const TT_Exact: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Alpha` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const TT_Alpha: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Beta` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const TT_Beta: u8 = 2;
[INFO] [stdout]    |           ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/board/fen.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState, defs::*};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::zobrist::ZOBRIST`
[INFO] [stdout]  --> src/board/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::board::zobrist::ZOBRIST;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/magic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/gen.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/movegen/make.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CAPTURE`, `PROM_B`, `PROM_N`, `PROM_Q`, `PROM_R`, and `QUIET`
[INFO] [stdout]  --> src/movegen/make.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::movegen::{Move, QUIET, CAPTURE, EP_CAPTURE, PROM_N, PROM_B, PROM_R, PROM_Q};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/search/tt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/uci/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/board/fen.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState, defs::*};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::zobrist::ZOBRIST`
[INFO] [stdout]  --> src/board/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::board::zobrist::ZOBRIST;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/magic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/movegen/gen.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GameState`
[INFO] [stdout]  --> src/movegen/make.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{Board, GameState};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CAPTURE`, `PROM_B`, `PROM_N`, `PROM_Q`, `PROM_R`, and `QUIET`
[INFO] [stdout]  --> src/movegen/make.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::movegen::{Move, QUIET, CAPTURE, EP_CAPTURE, PROM_N, PROM_B, PROM_R, PROM_Q};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/search/tt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::defs::*`
[INFO] [stdout]  --> src/uci/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::board::defs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/uci/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_sq`
[INFO] [stdout]   --> src/movegen/tables.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let b_sq = 1u64 << sq;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_b_sq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/movegen/gen.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut kings = self.bb_pieces[side][KING];
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/uci/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `board` is never read
[INFO] [stdout]   --> src/uci/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut board = Board::new(); // Empty? Or Default? Board::new is empty.
[INFO] [stdout]    |                     ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 46 |                      board = Board::from_fen(&fen);
[INFO] [stdout]    |                      ----- `board` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print_bitboard` and `piece_at` are never used
[INFO] [stdout]   --> src/board/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn print_bitboard(bb: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn piece_at(&self, sq: usize) -> (usize, usize) { // (piece_type, color)
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Bitboard` is never used
[INFO] [stdout]  --> src/board/defs.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type Bitboard = u64;
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOTH` is never used
[INFO] [stdout]  --> src/board/defs.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const BOTH: usize = 2;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `B8` is never used
[INFO] [stdout]   --> src/board/defs.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub const B8: usize = 57;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `C8` is never used
[INFO] [stdout]   --> src/board/defs.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub const C8: usize = 58;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `G8` is never used
[INFO] [stdout]   --> src/board/defs.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const G8: usize = 62;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_quiet` is never used
[INFO] [stdout]   --> src/movegen/mod.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Move {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn new_quiet(from: usize, to: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_queen_attacks` is never used
[INFO] [stdout]    --> src/movegen/magic.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl MagicTable {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn get_queen_attacks(&self, sq: usize, occupancy: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN_PHASE` is never used
[INFO] [stdout]  --> src/evaluation/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PAWN_PHASE: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KING_EDGE` is never used
[INFO] [stdout]   --> src/evaluation/psqt.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const KING_EDGE: [W; 64] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `moves_to_go` and `quit` are never read
[INFO] [stdout]   --> src/search/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SearchInfo {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub moves_to_go: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub quit: bool,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `resize` and `clear` are never used
[INFO] [stdout]   --> src/search/tt.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl TranspositionTable {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn resize(&mut self, mb_size: usize) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &TT {
[INFO] [stdout]     |                                ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &TT {
[INFO] [stdout]     |                           ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Exact` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         TT_Exact => return entry.score,
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Alpha` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                         TT_Alpha => {
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Beta` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         TT_Beta => {
[INFO] [stdout]     |                         ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:259:35
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &mut TT {
[INFO] [stdout]     |                                   ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:279:27
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &mut TT {
[INFO] [stdout]     |                           ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Exact` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const TT_Exact: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 - pub const TT_Exact: u8 = 0;
[INFO] [stdout] 29 + pub const TT_EXACT: u8 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Alpha` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const TT_Alpha: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 30 - pub const TT_Alpha: u8 = 1;
[INFO] [stdout] 30 + pub const TT_ALPHA: u8 = 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Beta` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const TT_Beta: u8 = 2;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub const TT_Beta: u8 = 2;
[INFO] [stdout] 31 + pub const TT_BETA: u8 = 2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_sq`
[INFO] [stdout]   --> src/movegen/tables.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let b_sq = 1u64 << sq;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_b_sq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/movegen/gen.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut kings = self.bb_pieces[side][KING];
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `board` is never read
[INFO] [stdout]   --> src/uci/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut board = Board::new(); // Empty? Or Default? Board::new is empty.
[INFO] [stdout]    |                     ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 46 |                      board = Board::from_fen(&fen);
[INFO] [stdout]    |                      ----- `board` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print_bitboard` and `piece_at` are never used
[INFO] [stdout]   --> src/board/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn print_bitboard(bb: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn piece_at(&self, sq: usize) -> (usize, usize) { // (piece_type, color)
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Bitboard` is never used
[INFO] [stdout]  --> src/board/defs.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type Bitboard = u64;
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOTH` is never used
[INFO] [stdout]  --> src/board/defs.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const BOTH: usize = 2;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `B8` is never used
[INFO] [stdout]   --> src/board/defs.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub const B8: usize = 57;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `C8` is never used
[INFO] [stdout]   --> src/board/defs.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub const C8: usize = 58;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `G8` is never used
[INFO] [stdout]   --> src/board/defs.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const G8: usize = 62;
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_quiet` is never used
[INFO] [stdout]   --> src/movegen/mod.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Move {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn new_quiet(from: usize, to: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_queen_attacks` is never used
[INFO] [stdout]    --> src/movegen/magic.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl MagicTable {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn get_queen_attacks(&self, sq: usize, occupancy: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN_PHASE` is never used
[INFO] [stdout]  --> src/evaluation/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PAWN_PHASE: i32 = 0;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KING_EDGE` is never used
[INFO] [stdout]   --> src/evaluation/psqt.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const KING_EDGE: [W; 64] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `moves_to_go` and `quit` are never read
[INFO] [stdout]   --> src/search/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SearchInfo {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub moves_to_go: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub quit: bool,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `resize` and `clear` are never used
[INFO] [stdout]   --> src/search/tt.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl TranspositionTable {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn resize(&mut self, mb_size: usize) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &TT {
[INFO] [stdout]     |                                ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 100 |              if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &TT {
[INFO] [stdout]     |                           ^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 173 |         if let Some(tt) = &raw const TT {
[INFO] [stdout]     |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Exact` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         TT_Exact => return entry.score,
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_EXACT`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Alpha` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                         TT_Alpha => {
[INFO] [stdout]     |                         ^^^^^^^^ help: convert the identifier to upper case: `TT_ALPHA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant in pattern `TT_Beta` should have an upper case name
[INFO] [stdout]    --> src/search/mod.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         TT_Beta => {
[INFO] [stdout]     |                         ^^^^^^^ help: convert the identifier to upper case: `TT_BETA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:259:35
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &mut TT {
[INFO] [stdout]     |                                   ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/search/mod.rs:279:27
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &mut TT {
[INFO] [stdout]     |                           ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 279 |         if let Some(tt) = &raw mut TT {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Exact` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const TT_Exact: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 - pub const TT_Exact: u8 = 0;
[INFO] [stdout] 29 + pub const TT_EXACT: u8 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Alpha` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const TT_Alpha: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 30 - pub const TT_Alpha: u8 = 1;
[INFO] [stdout] 30 + pub const TT_ALPHA: u8 = 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TT_Beta` should have an upper case name
[INFO] [stdout]   --> src/search/tt.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const TT_Beta: u8 = 2;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub const TT_Beta: u8 = 2;
[INFO] [stdout] 31 + pub const TT_BETA: u8 = 2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.63s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4", kill_on_drop: false }`
[INFO] [stdout] 1e9f3fb5c3be279f9931b17ccef9e0958be030f1e16f78825fa962e5404f92c4
